package com.witker.demo.user.service;

import com.witker.demo.user.dao.UserDao;
import com.witker.demo.user.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by BOCAI on 2018/4/20 1:40.
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public List<User> list(User user) {
        List<User> result = null;
        result = userDao.list(user);
        return result;
    }
}
